package com.tonysong.oa.yeboa12.service;

import com.tonysong.oa.yeboa12.config.domain.Login;
import com.tonysong.oa.yeboa12.config.util.R;
import com.tonysong.oa.yeboa12.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tonysong.oa.yeboa12.pojo.Role;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tonysong
 * @since 2022-12-01
 */
public interface AdminService extends IService<Admin> {

    R login(Login login);

    List<Role> findRoles(Integer id);
}
